﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EasyMvcBlog.DTO;
using EasyMvcBlog.Domain;

namespace EasyMvcBlog.Service
{
    public class TagService
    {
        private static TagDomain tagDomain = new TagDomain();

        /// <summary>
        /// 获得所有的tag标签
        /// </summary>
        /// <returns></returns>
        public static List<TagDTO> GetAllTags()
        {
            return tagDomain.AllTags;
        }
    }
}
